<%@taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@page pageEncoding="UTF-8"%>
<%@include file="../WEB-INF/jspf/controlesessao.jspf"%>
<c:catch var ="catchException">

    <sql:update var="delete" dataSource="jdbc/dbo_MicrosoftSQLServer">
        delete from Componentes_Docentes
        where matricula=?
        and id_componente=?
        <sql:param value="${param.matricula}"/>
        <sql:param value="${param.id_componente}"/>
    </sql:update>
    <p>Registro removido</p>
</c:catch>
